package com.lovo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lovo.entity.OrderEntity;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface IOrderDao extends BaseMapper<OrderEntity> {
    /**
     * 根据订单号查询订单实体
     *
     * @param orderNum
     * @return
     */
    OrderEntity findDistinctFirstByOrderNum(String orderNum);
}
